<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	<style type="text/css">
	    *{
			margin: 0;
			padding: 0;
		}
		#box{
			width: 100%;
			height: 600px;
			/* background-color: bisque; */
			display: flex;
			justify-content: center;
			align-items: center;
		}
		#phon{
			display: flex;
			width: 600px;
			height: 500px;
			align-items: center;
			overflow: hidden;
			/* background-color: aqua; */
		}
		#inph{
			display: flex;
			width: 1600px;
			height: 100px;
		}
		#phon img{
			width: 100px;
			height: 100px;
		}
	</style>
	<body>
		<div id="box">
			<div id="phon">
				<div id="inph" onmouseenter="mouseenter()" onmouseleave="mouseleave()">
					<img src="img/lunbo/1.jpeg" >
					<img src="img/lunbo/2.jpeg" >
					<img src="img/lunbo/3.jpeg" >
					<img src="img/lunbo/4.jpeg" >
					<img src="img/lunbo/5.jpeg" >
					<img src="img/lunbo/6.jpeg" >
					<img src="img/lunbo/7.jpeg" >
					<img src="img/lunbo/8.jpeg" >
					<img src="img/lunbo/9.jpeg" >
					<img src="img/lunbo/10.jpeg" >
					<img src="img/lunbo/1.jpeg" >
					<img src="img/lunbo/2.jpeg" >
					<img src="img/lunbo/3.jpeg" >
					<img src="img/lunbo/4.jpeg" >
					<img src="img/lunbo/5.jpeg" >
					<img src="img/lunbo/6.jpeg" >
				</div>
			</div>
		</div>
	</body>
	<script type="text/javascript">
		var imglist=document.getElementById('inph');
		var nu=0
		var myimg=null;
		var myim=null;
	    function imginter(){
			nu--;
			imglist.style.marginLeft=nu+'px';
			if(nu==-1000){
				nu=0;
			}
			if(nu%100==0){
				clearInterval(myimg);
				myim=setTimeout(function(){
					myimg=setInterval(imginter,10);
				},1000);
			}
		}
		function mouseenter(){
			clearInterval(myim);
			clearInterval(myimg);
		}
		function mouseleave(){
			myimg=setInterval(imginter,10);
		}
	    onload=function(){
			myimg=setInterval(imginter,10);
		}
	</script>
</html>
